import request from '@/core/request.js';
import Qs from 'qs'
import store from '@/store';
// import { system } from '@/core/config'
  
/**
 * 预警-合规预警-E互动-统计数据
 */
export function getInteractiveStatistic(payload) {
  return request({
    url: '/api/gold/interactive_statistic',
    method: 'get',
    params: {
      ...payload
    }
  })
}

/**
 * App3.0-预警-合规预警-信批合规减分项
 */
export function getDeductList(payload) {
  return request({
    url: '/api/gold/risk_warning',
    method: 'get',
    params: {
      ...payload
    }
  })
}
/**
 * App3.0-预警-合规预警-风险提示
（关联方风险提示、其他风险提示、同行监管违规项）
 */
export function getRiskWarning(payload) {
  return request({
    url: '/api/gold/risk_warning',
    method: 'get',
    params: {
      ...payload
    }
  })
  
}

/**
 * 预警-合规预警-E互动-统计数据
 */
export function getInteractiveList(payload) {
  return request({
    url: '/api/gold/interactive_list',
    method: 'get',
    params: {
      ...payload
    }
  })
}

/**
 * 预警-形象预警-正负面形象
 */
export function getEmotionInfo(payload) {
  return request({
    url: '/api/gold/opinion_emotion_info',
    method: 'get',
    params: {
      ...payload
    }
  })
}

/**
 * 预警-形象预警-敏感信息
 */
export function getSensitiveInfo(payload) {
  return request({
    url: '/api/gold/opinion_sensitive_info',
    // url: '/api/gold/app_opinion_list',
    method: 'get',
    params: {
      ...payload
    }
  })
}

/**
 * 预警-财务预警-财务预警
 */
export function financeWarning(payload) {
  return request({
    url: '/api/gold/finance_warning',
    method: 'get',
    params: {
      ...payload
    }
  });
}

/**
 * 预警-市值预警-第一股东股权质押风险提示
 */
export function firstStock(payload) {
  return request({
    url: '/api/gold/equity_pledge',
    method: 'get',
    params: {
      ...payload
    }
  });
}

/**
 * 预警-市值预警-第一大股东股权质押
 */
export function firstStockPledge(payload) {
  return request({
    url: '/api/gold/shareholder_equity_pledge',
    method: 'get',
    params: {
      ...payload
    }
  });
}
/**
 * App3.0-预警-市值预警-股票预警
 */
export function getStockWarning(payload){
  return request({
    url: '/api/gold/market_value_warning',
    method: 'get',
    params: {
      ...payload
    }
  });
}

/**
 * App3.0-预警-市值预警-举牌提示
 */
export function getPlacard(payload){
  return request({
    url: '/api/gold/placard_tip',
    method: 'get',
    params: {
      ...payload
    }
  });
}

/**
 * App3.0-服务详情页
 */
export function getServiceDetail(payload){
  return request({
    url: '/api/gold/get_services_detail',
    method: 'get',
    params: {
      ...payload
    }
  });
}

/**
 * 获取社区-活动-详情页h5
 */
export function getActivityInfo(payload){
  return request({
    url: '/api/community/activity_info_h5',
    method: 'get',
    params: {
      ...payload
    }
  });
}

